package com.nc.shop.service.dao;

import com.nc.shop.service.model.entity.CarEntity;
import com.nc.shop.service.model.entity.OrderEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 创建人:    xvzhe
 * 创建时间:
 * 修改时间:
 * 版本:      v1.0
 */
public interface OrderDao extends JpaRepository<OrderEntity, String> {
    List<OrderEntity> findByParentId(String parentId);

    List<OrderEntity> findByUserId(String userId);
}
